SortListDescendingNumeric
Type
statement
Summary
Sorts Target in descending numeric order.
Syntax
sort <Target> in descending numeric order
Description
Numeric sort is performed by comparing numeric elements by cardinality.
note
It is an error if Target contains any elements of non-numeric type.
Parameters
Name | Type | Description |
---|---|---|
Target | An expression that evaluates to a list of numbers. |
Examples
variable tTestList as List
put [3,4,5,1,2] into tTestList
sort tTestList in descending numeric order -- tTestList is [5,4,3,2,1]